/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.timesoft.zk.common;

import java.util.Locale;

/**
 *
 * @author sorasaks
 */
public class LocaleType {

    public static final Locale US = Locale.US;
    public static final Locale THAI = new Locale("th", "TH");
    
    public static String getLocaleName(Locale locale) {
        if(locale.equals(US)) {
            return "English (US)";
        } else if(locale.equals(THAI)) {
            return "ไทย";
        } else {
            return "";
        }
    }
}
